#! /bin/env python3
# coding: utf-8

import logging
import sys


def enable_debug(module_name):
    stream = logging.StreamHandler(sys.stdout)
    stream.setLevel(logging.DEBUG)
    log = logging.getLogger(module_name)
    log.addHandler(stream)
    log.setLevel(logging.DEBUG)
